package com.industrial.premu.service;

import com.industrial.common.core.web.domain.AjaxResult;
import com.industrial.premu.domain.PreMuEvaluationDataSubmission;
import com.industrial.premu.dto.PreMuEvaluationDataSubmissionDto;
import com.industrial.premu.util.PageResult;
import com.industrial.premu.vo.PreMuEvaluationDataSubmissionVo;

import java.util.Map;

public interface IPreMuEvaluationDataSubmissionService {

    AjaxResult submitData(PreMuEvaluationDataSubmissionDto dto);

    void saveData(PreMuEvaluationDataSubmission dataSubmission);

    boolean getFlag();

    Map<String, String> getCompanyInfo();

    PageResult<PreMuEvaluationDataSubmissionVo> page(PreMuEvaluationDataSubmissionDto dto);

    PreMuEvaluationDataSubmissionVo getDataSubmissionById(String id);

    AjaxResult resubmitData(PreMuEvaluationDataSubmissionDto dto);

    void updateDataById(PreMuEvaluationDataSubmission dataSubmission);

    PageResult<PreMuEvaluationDataSubmissionVo> pageBackend(PreMuEvaluationDataSubmissionDto dto);

    AjaxResult approvalDataBatch(PreMuEvaluationDataSubmissionDto dto);
}
